package com.yu.mall.vo.address;

import com.yu.mall.dto.BaseDTO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@ApiModel
@Data
public class AddressVO extends BaseDTO {

    @ApiModelProperty(value="id (添加时不传 修改时传)")
    private String id;

    @ApiModelProperty(value="姓名",required = true)
    private String name;

    @ApiModelProperty(value="手机号",required = true)
    private String phone;

    @ApiModelProperty(value="省id",required = true)
    private String provinceId;

    @ApiModelProperty(value="省名称",required = true)
    private String provinceName;

    @ApiModelProperty(value="市id",required = true)
    private String cityId;

    @ApiModelProperty(value="市名称",required = true)
    private String cityName;

    @ApiModelProperty(value="区id",required = true)
    private String countyId;

    @ApiModelProperty(value="区名称",required = true)
    private String countyName;

    @ApiModelProperty(value="第四级id",required = true)
    private String townId;

    @ApiModelProperty(value="第四级名称",required = true)
    private String townName;

    @ApiModelProperty(value="详情地址",required = true)
    private String address;

    @ApiModelProperty(value="是否默认地址（1:是 0:否）",required = true)
    private String isDefault;

}
